package 数据结构.树.字典树;

import org.junit.Test;

/**
 * @author Veng Su 1344114844@qq.com
 * @date 2018/7/30 22:54
 */
public class Main {
    @Test
    public void test(){
        Trie trie=new Trie();
        trie.add("hello");
        trie.add("hi");
        System.out.println(trie.contains("hi"));
        System.out.println(trie.containword("hi"));
        System.out.println(trie.containword("hidfs"));
    }
}
